@layout("/common/_container.html",{js:["/assets/location/hxStorageStock.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">车辆实时位置</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline" style="width: 150px;">
                                <input id="startTime" class="layui-input" autocomplete="off" type="text" placeholder="开始时间从"/>
                            </div>
                            <div class="layui-inline">
                                一
                            </div>
                            <div class="layui-inline" style="width: 150px;">
                                <input id="endTime" class="layui-input" autocomplete="off" type="text" placeholder="结束时间至"/>
                            </div>
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="车牌号"/>
                            </div>
				            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
				                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                                <button id="btnExpimport" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>导入excel</button>
                                <button id="btnRevoke" class="layui-btn layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>批量删除</button>
				            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="hxStorageStockTable" lay-filter="hxStorageStockTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="stockStateTpl">
  {{#  if(d.stockState === '正常'){ }}
    <span style="color: #43CF7C;font-weight: 600;">{{ d.stockState }}</span>
  {{#  } else { }}
    {{ d.stockState }}
  {{#  } }}
</script>
@}